<!DOCTYPE html>

<html>

<head>
    <meta name="generator" content="Hugo 0.73.0" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="author" content="Ap Chen ">
<meta name="description" content="" />
<meta name="keywords" content="blog" />
<meta name="robots" content="noodp" />

<link rel="canonical" href="https://fziks.gitee.io/notes/computer-network/" />

<meta itemprop="name" content="计算机网络">
<meta itemprop="description" content="littlegreedy &#39;s Site">
<meta property="og:title" content="计算机网络" />
<meta property="og:description" content="littlegreedy &#39;s Site" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://fziks.gitee.io/notes/computer-network/" />
<meta property="og:updated_time" content="2020-02-26T00:00:00+00:00" />

<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="计算机网络"/>
<meta name="twitter:description" content="littlegreedy &#39;s Site"/>


<link rel="apple-touch-icon" sizes="60x60" href="https://fziks.gitee.io/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://fziks.gitee.io/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://fziks.gitee.io/icons/favicon-16x16.png">
<link rel="manifest" href="https://fziks.gitee.io/icons/site.webmanifest">
<link rel="mask-icon" href="https://fziks.gitee.io/icons/safari-pinned-tab.svg" color="#5bbad5">
<link rel="shortcut icon" href="https://fziks.gitee.io/icons/favicon.ico">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-config" content="/icons/browserconfig.xml">
<meta name="theme-color" content="#ffffff">

<title>计算机网络</title>


<link rel="stylesheet" href="//at.alicdn.com/t/font_1559566_wk214kwa2dn.css">


    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css" integrity="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq" crossorigin="anonymous">



    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css" integrity="sha256-WAgYcAck1C1/zEl5sBl5cfyhxtLgKGdpI3oKyJffVRI=" crossorigin="anonymous" />
    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.2/animate.css" integrity="sha256-a2tobsqlbgLsWs7ZVUGgP5IvWZsx8bTNQpzsqCSm5mk=" crossorigin="anonymous" />
    
   <link href="https://stackpath.bootstrapcdn.com/bootswatch/4.4.1/materia/bootstrap.min.css" rel="stylesheet" integrity="sha384-1tymk6x9Y5K+OF0tlmG2fDRcn67QGzBkiM3IgtJ3VrtGrIi5ryhHjKjeeS60f1FA" crossorigin="anonymous">
    
    
    <link rel="stylesheet" href="https://fziks.gitee.io/sass/main_cdn.min.270b43bb8631af4497ed45b90db42c517e86c9511418de9152f134d02ed32b87.min.2192baea245cf318085511589e62bfbdb3fbe4fb0eef718f1be9af91c10542ce.css" integity="sha256-IZK66iRc8xgIVRFYnmK/vbP75PsO73GPG&#43;mvkcEFQs4=">

</head>

<body style="overflow-x: unset;">
    <div class="container-fluid">
        <div class="row d-print-block">
            <div class="col-12 col-md-3 col-lg-2 bd-sidebar d-print-none">
                <div class="d-flex mt-3 border-bottom">
        <span class="navbar-brand w-100" style="display: grid;">
            <small>
                <a href="https://fziks.gitee.io/" class="text-black-50">
                    <i class="iconfont icon-back-arrow-"></i>
                </a>
                Ap Chen's
            </small>
            <a class="text-dark" href="https://fziks.gitee.io/notes/">
                Notes
            </a>
        </span>
        <button class="btn btn-link text-dark d-md-none p-0 ml-3" type="button" data-toggle="collapse"
            data-target="#bd-docs-nav" aria-controls="bd-docs-nav" aria-expanded="true"
            aria-label="Toggle docs navigation">
            <i class="fad fa-bars"></i>
        </button>
    </div>
                <nav id="bd-docs-nav" class="collapse bd-links">
    
    
    
    <div class="bd-toc-item active bg-light">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/computer-network/">
            <i class="iconfont icon-back-arrow-reverse"></i>
            计算机网络
        </a>
        <ul class="nav bd-sidenav">
            
            
            <li>
                <a href="https://fziks.gitee.io/notes/computer-network/2.%E7%89%A9%E7%90%86%E5%B1%82/">2.物理层</a>
            </li>
            
            
            
            <li>
                <a href="https://fziks.gitee.io/notes/computer-network/3.%E6%95%B0%E6%8D%AE%E9%93%BE%E8%B7%AF%E5%B1%82/">3.数据链路层</a>
            </li>
            
            
            
            <li>
                <a href="https://fziks.gitee.io/notes/computer-network/5.%E7%BD%91%E7%BB%9C%E5%B1%82%E6%80%BB%E7%BB%93/">4.网络层</a>
            </li>
            
            
            
            <li>
                <a href="https://fziks.gitee.io/notes/computer-network/4.%E4%BC%A0%E8%BE%93%E5%B1%82%E6%80%BB%E7%BB%93/">5.传输层</a>
            </li>
            
            
            
            <li>
                <a href="https://fziks.gitee.io/notes/computer-network/ripects/">RIP OSPF BGP</a>
            </li>
            
            
            
            <li>
                <a href="https://fziks.gitee.io/notes/computer-network/%E5%87%A0%E4%B8%AA%E6%A6%82%E5%BF%B5%E7%BB%86%E8%8A%82/">几个概念细节</a>
            </li>
            
            
        </ul>
    </div>
    
    
    
    <div class="bd-toc-item">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/operating-system/">
            
            
                <span class="icontext">S</span>
            
            
            操作系统
        </a>
    </div>
    
    
    
    <div class="bd-toc-item">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/database/">
            
            
                <span class="icontext">S</span>
            
            
            数据库
        </a>
    </div>
    
    
    
    <div class="bd-toc-item">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/cs50-introduction-to-computer-science/">
            
            
                <span class="icontext">S</span>
            
            
            CS50 MIT
        </a>
    </div>
    
    
    
    <div class="bd-toc-item">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/advanced-programming/">
            
            
                <span class="icontext">A</span>
            
            
            高级程序设计
        </a>
    </div>
    
    
    
    <div class="bd-toc-item">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/deep-learning/">
            
            
                <span class="icontext">O</span>
            
            
            深度学习基础
        </a>
    </div>
    
    
    
    <div class="bd-toc-item">
        <a class="bd-toc-link" href="https://fziks.gitee.io/notes/%E6%96%87%E7%8C%AE%E7%AE%A1%E7%90%86%E4%B8%8E%E4%BF%A1%E6%81%AF%E5%88%86%E6%9E%90/">
            
            
                <span class="icontext">O</span>
            
            
            文献管理与信息分析
        </a>
    </div>
    
    
</nav>
            </div>
            <div class="col-12 col-md-9 col-lg-10 d-print-block">
                <div class="row d-print-block">
                    <main class="col-12 col-md-10 col-lg-9 py-md-3 pl-md-5 bd-content d-print-block" role="main">
                        <div id="title" class="my-4 border-bottom">
                            <h2>
                                计算机网络
                            </h2>
                            
                                <footer>
                                    
                                    
                                    <span>
                                        <i class="iconfont icon-chalkboard-teacher mr-2"></i>
                                        <a href="https://www.icourse163.org/course/SCUT-1002700002">SCUT-计算机网络</a>
                                    </span> <br />
                                    
                                    
                                </footer>
                                <br />
                                
                            
                        </div>
                        <div id="notes-list" class="list-group">
                            
                            <a class="list-group-item" href="https://fziks.gitee.io/notes/computer-network/2.%E7%89%A9%E7%90%86%E5%B1%82/">
                                2.物理层
                                
                                <span class="float-right">
                                    2020-04-30 08:00 CST
                                </span>
                                
                            </a>
                            
                            <a class="list-group-item" href="https://fziks.gitee.io/notes/computer-network/3.%E6%95%B0%E6%8D%AE%E9%93%BE%E8%B7%AF%E5%B1%82/">
                                3.数据链路层
                                
                                <span class="float-right">
                                    2020-04-30 08:00 CST
                                </span>
                                
                            </a>
                            
                            <a class="list-group-item" href="https://fziks.gitee.io/notes/computer-network/5.%E7%BD%91%E7%BB%9C%E5%B1%82%E6%80%BB%E7%BB%93/">
                                4.网络层
                                
                                <span class="float-right">
                                    2020-04-30 08:00 CST
                                </span>
                                
                            </a>
                            
                            <a class="list-group-item" href="https://fziks.gitee.io/notes/computer-network/4.%E4%BC%A0%E8%BE%93%E5%B1%82%E6%80%BB%E7%BB%93/">
                                5.传输层
                                
                                <span class="float-right">
                                    2020-04-30 08:00 CST
                                </span>
                                
                            </a>
                            
                            <a class="list-group-item" href="https://fziks.gitee.io/notes/computer-network/ripects/">
                                RIP OSPF BGP
                                
                                <span class="float-right">
                                    2020-04-30 08:00 CST
                                </span>
                                
                            </a>
                            
                            <a class="list-group-item" href="https://fziks.gitee.io/notes/computer-network/%E5%87%A0%E4%B8%AA%E6%A6%82%E5%BF%B5%E7%BB%86%E8%8A%82/">
                                几个概念细节
                                
                                <span class="float-right">
                                    2020-04-30 08:00 CST
                                </span>
                                
                            </a>
                            
                        </div>
                    </main>
                    <div class="d-none d-lg-block col-lg-3 bd-toc d-print-none">
                        <div class="btn-group-vertical w-100 my-3">
    
    <a class="btn btn-outline-secondary text-dark w-100 p-2" href="https://list.html" target="_blank">
        <i class="iconfont icon-LC_icon_list_line"></i><br />待更新列表
    </a>
    

    
    <a class="btn btn-outline-secondary text-dark w-100 p-2" href="mailto:littlegreedy@qq.com"
        target="_blank">
        <i class="iconfont icon-discussion"></i><br />纠错与咨询
    </a>
    
    
    
    
        <a class="btn btn-outline-secondary text-dark w-100 p-2" href="#" onclick="printAllNotes()">
            <i class="iconfont icon-dayin"></i><br />打印全部
        </a>
    
    
</div>
                        <nav id="TableOfContents"></nav>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js" integrity="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz" crossorigin="anonymous"></script>
    <script defer src="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js"
        integrity="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/jquery@3.4.1/dist/jquery.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/axios@0.19.0/dist/axios.min.js" integrity="sha256-S1J4GVHHDMiirir9qsXWc8ZWw74PHHafpsHp5PXtjTs=" crossorigin="anonymous"></script>
    
    <script>
        const loadPage = (div, title, link) => {
            div.append('<h1>' + title + '</h1>');
            return new Promise((resolve, reject) => {
                axios.get(link)
                    .then(res => {
                        const page = $(res.data);
                        div.append(page.find('#content'));
                        resolve();
                    })
                    .catch(err => reject(err));
            });
        }
        const printAllNotes = () => {
            const body = $('body');
            const title = $('#title').clone().find('a').remove().end().text();
            const list = $('#notes-list').children();
            
            body.children().remove();
            body.append('<h1 id="title">Loading notes...</h1><hr/>');
            
            let pageLoaders = [];
            $.each(list, (id, anchor) => {
                console.log(id, anchor);
                const div = $('<div id="page-' + id + '"></div>');
                div.appendTo(body);
                pageLoaders[id] = loadPage(div, anchor.text, anchor.href);
            });

            Promise.all(pageLoaders)
                .then(() => {
                    renderMathInElement(document.body, {
                        delimiters: [{
                            left: "$$",
                            right: "$$",
                            display: true
                        },
                        {
                            left: "\\[",
                            right: "\\]",
                            display: true
                        },
                        {
                            left: "$",
                            right: "$",
                            display: false
                        },
                        {
                            left: "\\(",
                            right: "\\)",
                            display: false
                        }]
                    });
                    $('#title').text(title);
                    window.print();
                    window.location.reload();
                })
                .catch(err => {
                    $('#title').addClass('text-danger');
                    $('#title').text('Loading failed.');
                    console.error(err);
                });
        }
    </script>
</body>

</html>